package com.time.client.domain.converter;

import com.time.client.domain.entity.TagBO;
import com.time.client.infra.basic.entity.Tag;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 文章标签BO转换器
 *
 * @author: HuangQi
 * @date: Created in 15:21 2025/10/14
 * @description: 文章标签BO转换器类
 */
@Mapper
public interface TagBOConverter {

    TagBOConverter INSTANCE = Mappers.getMapper(TagBOConverter.class);

    Tag convertBOToEntity(TagBO tagBO);

    List<TagBO> convertEntityListToBO(List<Tag> tagList);
}
